#ifndef __CPU_IMGDECODER__
#define __CPU_IMGDECODER__

#include <vector>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
typedef unsigned char uchar;

// #include "common.h"

int decode_jpeg(const std::vector<std::vector<char>> &files_data, uchar* out_imgs, size_t width, size_t height);

int decode_png(const std::vector<std::vector<char>> &files_data, uchar* out_imgs, size_t width, size_t height);

#endif